package com.android.lovingpet.adopt.adoption;
import com.android.lovingpet.base.BaseView;
import com.android.lovingpet.bean.Pet;

import java.io.File;
import java.util.HashMap;

/**
 * Created by ikata on 2018/3/20.
 */

public interface IAdoptionContract {
    interface View extends BaseView {
        void next();
        void addPet(Pet pet);
    }
    interface Presenter
    {
        void addAdopt(String name,String type,String birthday,int sterilize,int source,String description,int immune,String demand,String gender,File video);
        void uploadVideo(int id, int userType, int videoType, File video);
        void sort(HashMap<String,String> params,int offset,int num);
        void sortBySex(String gender,int offset,int num);
        void sortByAddress(String address,int offset,int num);
        void sortByType(String type,int offset,int num);
        void getPetInfo(int id);
    }
}
